from django.conf.urls import url
from django.contrib import admin
from . import views

urlpatterns = [
    # 图片验证码路由匹配
    url(r'^image_codes/(?P<image_code_id>.+)/', views.ImageCodeView.as_view()),
    # 短信路由匹配
    url(r'^sms_codes/(?P<mobile>1[3-9]\d{9})/$', views.SmsCodeView.as_view()),
]